all: situationTest

situationTest: situationTest.o SituationController.o Situation.o Room.o Player.o Shot.o Drone.o Graphics.o
	g++ situationTest.o SituationController.o Situation.o Room.o Player.o Shot.o Drone.o Graphics.o -o main -Wall -fprofile-arcs -ftest-coverage

situationTest.o: situationTest.cpp
	g++ -c situationTest.cpp -Wall -fprofile-arcs -ftest-coverage

SituationController.o: SituationController.cpp
	g++ -c SituationController.cpp -Wall -fprofile-arcs -ftest-coverage

Situation.o: Situation.cpp Room.o Player.o Shot.o Drone.o Graphics.o
	g++ -c Situation.cpp -Wall -fprofile-arcs -coverage

Room.o: Room.cpp
	g++ -c Room.cpp -Wall -fprofile-arcs -ftest-coverage

Player.o: Player.cpp
	g++ -c Player.cpp -Wall -fprofile-arcs -ftest-coverage

Shot.o: Shot.cpp
	g++ -c Shot.cpp -Wall -fprofile-arcs -ftest-coverage

Drone.o: Drone.cpp
	g++ -c Drone.cpp -Wall -fprofile-arcs -ftest-coverage

Graphics.o: ../glOutput/Graphics.cpp
	g++ -c ../glOutput/Graphics.cpp -Wall -fprofile-arcs -ftest-coverage

clean:
	rm -f *.o *.gcno main
